package com.fudan.cfg.base;

import java.io.Serializable;

public abstract class TypeNode implements Serializable{
	public static final String NAME_TAG = "name";
	public static final String TYPE_TAG = "type";
	public static final String TARGET_TAG = "target";
	protected String type;
	protected String name;
	protected String target;

	
	public TypeNode(String name,String type) {
		this.name = name;
		this.type = type;
	}
	public TypeNode(String name,String type,String target) {
		this.name = name;
		this.type = type;
		this.target = target;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	
}
